package com.wdl.fmnew.app.fragmentDemo.demo01;

import com.wdl.fmnew.core.di.scope.PerFragment;

import dagger.Binds;
import dagger.Module;

/**
 * Created by wdl on 2017/9/19.
 */

@Module
public abstract class Demo01Module {
    @PerFragment
    @Binds
    abstract Demo01Contract.Presenter providesPresenter(Demo01Presenter demo01Presenter);

    @PerFragment
    @Binds
    abstract Demo01Contract.Model providesModel(Demo01Model demo01Model);
}
